using Items;

public class ItemUI_Button_Throw : ItemUI_Button
{
    public override bool IsActive(EGameState state, Item item, Equipment equipment, bool isEquipped)
    {
        if (isEquipped)
            return false;
        return true;
    }

    protected override void OnClick()
    {
        base.OnClick();
        manager.TargetContainer.TryThrow(manager.TargetStack.ItemAttached, 1);
    }
}